window.onscroll = function () {
    var height = document.documentElement.scrollTop
    console.log(height);
    if(height>=200){
        $('.jmrx').addClass('stuckMenu')
       
    }else if(height<200){
        $('.jmrx').removeClass('stuckMenu')
    }
    if(height>120){
        $('.gy-gybt').children('span').children('a').addClass('fadeInUp')
    }
    if(height>500){
        $('.xw-nr').children('ul').children('li').eq(0).addClass('fadeInUp animated')
    }
    if(height>700){
        $('.xw-nr').children('ul').children('li').eq(1).addClass('fadeInUp animated')
    }
    if(height>900){
        $('.xw-nr').children('ul').children('li').eq(2).addClass('fadeInUp animated')
    }
    if(height>1100){
        $('.xw-nr').children('ul').children('li').eq(3).addClass('fadeInUp animated')
    }
    if(height>1300){
        $('.xw-nr').children('ul').children('li').eq(4).addClass('fadeInUp animated')
    }
    if(height>1500){
        $('.xw-nr').children('ul').children('li').eq(5).addClass('fadeInUp animated')
    }
    if(height>1700){
        $('.xw-nr').children('ul').children('li').eq(6).addClass('fadeInUp animated')
    }
    if(height>1900){
        $('.xw-nr').children('ul').children('li').eq(7).addClass('fadeInUp animated')
    } 
     if(height>2100){
        $('.xw-nr').children('ul').children('li').eq(8).addClass('fadeInUp animated')
    }  
    if(height>2300){
        $('.xw-nr').children('ul').children('li').eq(9).addClass('fadeInUp animated')
    }
    if(height>2750){
        $('.footer2').children('span').addClass('fadeInUp animated')
        $('.footer3').children('span').addClass('fadeInUp animated')
        $('.footer3').children('div').addClass('fadeInRightBig animated')
    }

    if(height>2800){
        $('.liu').find('li').addClass('fadeInUp animated')
    }
    if(height>2800){
        $('.tijiao').addClass('fadeInUp animated')
        $('.re').children('i').addClass('fadeInUp animated')
    }
}